<h2><%=t('devise.sessions.link')%></h2>

<% form_for resource_name, resource, :url => session_path(resource_name) do |f| -%>
  <ul>
  <li><%= f.label :cpf %></li>
  <li><%= f.text_field :cpf, :alt => :cpf %></li>

  <li><%= f.label :password %></li>
  <li><%= f.password_field :password %></li>

  <% if devise_mapping.rememberable? -%>
    <li><%= f.check_box :remember_me %> <%= f.label :remember_me %></li>
  <% end -%>

  <li><%= f.submit t('devise.sessions.link') %></li>
  </ul>
<% end -%>

<%= render :partial => "shared/devise_links" %>
